/**
* ...
* @author Default
* @version 0.1
*/

package {
	import de.polygonal.ds.HashTable;
	import org.anivision.plugins.*;
	
	public class Plugins {
		
		private static var _plugins:HashTable;
		
		public static function add(plugin:*):void {
			if ( _plugins == null )
				_plugins = new HashTable(255);
			
			_plugins.insert(plugin.name, plugin);
			
			plugin.init(null);
		}
	}
	
}
